﻿#pragma once
#include "mmShowChart.h"

// CTools_SetChart_Dlg 对话框

class CTools_SetChart_Dlg : public CDialogEx
{
	DECLARE_DYNAMIC(CTools_SetChart_Dlg)

public:
	CTools_SetChart_Dlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CTools_SetChart_Dlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_Tools_SetChart };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedButtonSave();
	afx_msg void OnBnClickedButtonShow();
	afx_msg void OnBnClickedButtonClose();
private:
	void UpdateChartInfoWidget(); // 刷新图卡设置
public:
	afx_msg void OnCbnSelchangeComboChartid();
	afx_msg void OnBnClickedButtonDrawrect();
	afx_msg void OnBnClickedButtonDrawchessboard();
};

extern CTools_SetChart_Dlg * m_Tools_SetChart;